package constant

import "fmt"

func GetRealtimeKey(codeId string) string {
	return fmt.Sprintf("%s.realtime", codeId)
}

func GetKlineKey(codeId string, period string) string {
	return fmt.Sprintf("%s.kline.%s", codeId, period)
}
